package java05_02;

public class Cylinder extends Circle{
public double h;
public Cylinder(){
    h =100;
}

    public double getH() {
        return h;
    }

    public void setH(double h) {
        this.h = h;
    }

    public double findVolume() {
        double s=findArea()*h;
        return s;
    }
}
